/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __TEMPERATURE_SENSOR
#define __TEMPERATURE_SENSOR

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include <stm32f4xx.h>

/* Exported types ------------------------------------------------------------*/
typedef struct {

} Serial_TypeDef;

extern Serial_TypeDef Serial;

/* Exported constants --------------------------------------------------------*/
//#define	OUTPUT	1
//#define INPUT	0

//#define HIGH	1
//#define	LOW		0

/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void RCC_Configuration_Adc1(void);
void GPIO_Configuration_Adc1(void);
void ADC1_Configuration(void);
uint16_t temp_read(void);
void temp_sensor_init(void);


#ifdef __cplusplus
} // extern "C"
#endif

#endif // __TEMPERATURE_SENSOR
